home *** CD-ROM | disk | FTP | other *** search
/ Dr. Windows 3 / dr win3.zip / dr win3 / WINPROGS / VCSLID.ZIP / SLIDER.H < prev    next >
Text File  |  1993-08-12  |  1KB  |  44 lines

  1. /***************************************************************
  2.  
  3.    Copyright 1993  Northeast Data Corp.  All Rights Reserved
  4.  
  5. ****************************************************************/
  6.  
  7. /***************************************************************
  8.  
  9.  
  10.    slider.H
  11.  
  12.    Public definitions for applications that use the slider.
  13.     - Messages
  14.     - Notification codes.
  15.     - Control Styles.
  16.  
  17.    Version 1.0, August 1993, Wade Cobb
  18.  
  19. ****************************************************************/
  20.  
  21. //Control-specific messages
  22. #define SCM_SETRANGE          (WM_USER+1)
  23. #define SCM_GETRANGE          (WM_USER+2)
  24. #define SCM_GETPOS            (WM_USER+3)
  25. #define SCM_SETPOS            (WM_USER+4)
  26.  
  27. // The one callable function to force the DLL to load
  28. void FAR PASCAL registerSlider(void);
  29.  
  30. //Notification codes sent via WM_COMMAND from the control.
  31. #define SCN_RANGECHANGE     1
  32.  
  33. //Control specific styles.
  34. #define SCS_VERTICAL        0x0001L
  35. #define SCS_HORIZONTAL      0x0002L
  36. #define SCS_NOPEGSCROLL     0x0004L
  37. #define SCS_TEXTHASRANGE    0x0008L
  38. #define SCS_INVERTRANGE     0x0010L
  39. #define SCS_LEFTTICKS       0x0020L
  40. #define SCS_TOPTICKS        0x0020L
  41. #define SCS_RIGHTTICKS      0x0040L
  42. #define SCS_BOTTOMTICKS     0x0040L
  43. #define SCS_TABSTOP         0x0080L
  44.